package com.gasstion.dao;

import com.gasstion.entity.Members;
import com.gasstion.entity.Userinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MembersDao {

    public List<Members> query();
    public List<Members> querySearch(@Param("vipName") String vipName, @Param("offset") int offset, @Param("limit") int limit) ;
    public long getTotalCount(@Param("vipName") String vipName) ;

    public void save(Members members);

    public long toupdate(@Param("detail") String detail,@Param("yzm") String yzm ,@Param("id") int id);

    public Members getmem(@Param("yzm") String yzm);
    public String getyzm(@Param("id") int id);
    public void guashi(@Param("id") int id);
    public void chongzhi(@Param("id")int id,@Param("balance")double balance);
    public void doqiyong(@Param("id")int id);
}
